Win32: Set the shows-desktop platform setting
authorMatthias Clasen <mclasen@redhat.com>
Fri, 15 Nov 2013 12:51:22 +0000 (07:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Nov 2013 12:51:22 +0000 (07:51 -0500)
Win32 shows icons on the desktop, so set shows-desktop
to TRUE here.

gdk/win32/gdkproperty-win32.c

index 72e7512c646c280c393383e8ada37b3094d9c5ea..24cd55829b1c96232f595ed9db85554c98239dcf 100644 (file)
@@ -389,6 +389,12 @@ _gdk_win32_screen_get_setting (GdkScreen   *screen,
       g_value_set_boolean (value, TRUE);
       return TRUE;
     }
+  else if (strcmp ("gtk-shell-shows-desktop", name) == 0)
+    {
+      GDK_NOTE(MISC, g_print("gdk_screen_get_setting(\"%s\") : TRUE\n", name));
+      g_value_set_boolean (value, TRUE);
+      return TRUE;
+    }
 #if 0
   /*
    * With 'MS Sans Serif' as windows menu font (default on win98se) you'll get a